credit2: use curr_on_cpu(cpu) in place of `per_cpu(s, c).curr
authorDario Faggioli <dario.faggioli@citrix.com>
Wed, 11 Mar 2015 13:08:33 +0000 (14:08 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 11 Mar 2015 13:08:33 +0000 (14:08 +0100)
commit72c7e0ffd15f48f346e1b740d074679d5207e5d1
tree72b7a0dc9c8c2911d495f5c02a38a34e2c6711a8
parentb0044ac393dd29f7f36d803288198cebe16294eb
credit2: use curr_on_cpu(cpu) in place of `per_cpu(s, c).curr

as 0bba5747f4bee4ddd ("xen: sched_credit: define and use
curr_on_cpu(cpu)") did for Credit1, hence making the code more
consistent and easier to read.

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Reviewed-by: George Dunlap <george.dunlap@eu.citrix.com>
xen/common/sched_credit2.c